import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    name: 'transactionResult',
    path: '/transactionResult',
    meta: {
      icon: 'lucide:clipboard-list',
      order: 2,
      // title: $t('page.dashboard.transactionRusult'),
      title: '交易结果',
      hideChildrenInMenu: true,
      component: 'BasicLayout',
    },
    children: [
      {
        name: 'close-rate',
        path: '/close-rate',
        component: () => import('#/views/transaction-result/index.vue'),
        meta: {
          // title: $t('page.dashboard.volumeRatio'),
          title: '成交率',
          menuVisible: true,
        },
      },
    ],
  },
];

export default routes;
